-
Home
-
EWWW Image Optimizer
-
8.1.0 (latest)
-
Code
-
Classes
- Background_Process
Total Complexity |
81 |
Dependencies |
0 |
Dependents |
0 |
Total lines |
662 |
Lines of code |
297 |
Logical lines of code |
176 |
Comment lines |
274 |
Methods |
30 |
Properties |
12 |
Methods 30
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
handle() |
A |
48 |
11 |
33 |
push_to_queue() |
A |
51 |
8 |
25 |
update_lock() |
S |
53 |
5 |
23 |
maybe_handle() |
S |
53 |
5 |
22 |
get_memory_limit() |
S |
59 |
5 |
14 |
get_lock_dir() |
S |
64 |
5 |
10 |
get_process_lock() |
S |
58 |
3 |
16 |
is_disk_lock_valid() |
S |
61 |
3 |
11 |
handle_cron_healthcheck() |
S |
65 |
3 |
11 |
is_key_valid() |
S |
63 |
3 |
10 |
delete() |
S |
61 |
2 |
14 |
get_batch() |
S |
61 |
2 |
11 |
memory_exceeded() |
S |
64 |
2 |
9 |
unlock_process() |
S |
69 |
2 |
7 |
generate_key_suffix() |
S |
64 |
2 |
9 |
schedule_event() |
S |
72 |
2 |
5 |
clear_scheduled_event() |
S |
71 |
2 |
6 |
is_process_running() |
S |
69 |
2 |
7 |
update() |
S |
70 |
2 |
6 |
time_exceeded() |
S |
65 |
2 |
8 |
cancel_process() |
S |
69 |
1 |
6 |
task() |
S |
100 |
1 |
0 |
__construct() |
S |
66 |
1 |
8 |
schedule_cron_healthcheck() |
S |
65 |
1 |
8 |
complete() |
S |
78 |
1 |
4 |
dispatch() |
S |
77 |
1 |
4 |
process_lock_file() |
S |
79 |
1 |
3 |
is_queue_empty() |
S |
80 |
1 |
3 |
count_queue() |
S |
74 |
1 |
4 |
failure() |
S |
100 |
1 |
0 |